import request from "@/utils/request";

// 登录方法
export function login(username, password , code , uuid) {
    const data = {
        username,
        password,
        code,
        uuid
    }

    return request({
        url: '/sys/login/doLogin',
        headers:{
            isToken: false
        },
        method: 'post',
        data: data
    })
}

export function getCaptcha(){
    return request({
        url: `sys/captcha/getCaptcha` ,
        headers:{
            isToken: false
        },
        method: 'get'
    })
}
